import java.awt.*;
import java.io.IOException;
import java.util.*;

public class Othello extends Observable {
	private static GameBoard gb;
	public static CheckMove cm;

	public Othello(GameBoard gb) {
		this.gb = gb;
		cm = new CheckMove();

	}

	// เน€เธญเธฒเธ�เธธเธ”เธ—เธตเน�เธฅเธ�เธกเธฒเธ”เธนเธงเน�เธฒเธฅเธ�เน�เธ”เน�เธ�เน�เธฒเธงเธชเน�เธ�เน€เธ�เน�เธฒlogic poppy
	public void placeBut(Message msg) {
		//System.out.println("place");
		cm.check(gb.getState(), gb, new Point(msg.getI(), msg.getJ()));
		//System.out.println("fuk");
	}

	public GameBoard getGameBoard() {
		return gb;
	}

}
